import { get, post } from '../request'

const delivery = {
  // 获取商店的发货信息
  getDeliveryOfStore(storeId, param) {
    return get(
      `/delivery/info/${storeId}`,
      param
    )
  },

  // 更改发货状态
  processDelivery(param) {
    return post(
      '/delivery/process',
      param
    )
  }
}

export default delivery;
